﻿using System.Collections.Generic;
using Litografia.BusinessEntities;

namespace Litografia.BusinessComponents
{
    public class BCSearch
    {
        public static IList<BEEntity> GetEntities(EntityType entity, string filter)
        {
            return BCEntity.GetList(entity, filter);
        }

        public static BEEntity GetEntityById(EntityType entity, string id)
        {
            return BCEntity.GetItemById(entity, id);
            
        }
    }
}
